package com.ruoyi.logisticsaddress.mapper;

import java.util.List;
import com.ruoyi.logisticsaddress.domain.Logisticsaddress;

/**
 * 配置地址Mapper接口
 * 
 * @author sqlstudent
 * @date 2025-06-20
 */
public interface LogisticsaddressMapper 
{
    /**
     * 查询配置地址
     * 
     * @param addressId 配置地址主键
     * @return 配置地址
     */
    public Logisticsaddress selectLogisticsaddressByAddressId(Long addressId);

    /**
     * 查询配置地址列表
     * 
     * @param logisticsaddress 配置地址
     * @return 配置地址集合
     */
    public List<Logisticsaddress> selectLogisticsaddressList(Logisticsaddress logisticsaddress);

    /**
     * 新增配置地址
     * 
     * @param logisticsaddress 配置地址
     * @return 结果
     */
    public int insertLogisticsaddress(Logisticsaddress logisticsaddress);

    /**
     * 修改配置地址
     * 
     * @param logisticsaddress 配置地址
     * @return 结果
     */
    public int updateLogisticsaddress(Logisticsaddress logisticsaddress);

    /**
     * 删除配置地址
     * 
     * @param addressId 配置地址主键
     * @return 结果
     */
    public int deleteLogisticsaddressByAddressId(Long addressId);

    /**
     * 批量删除配置地址
     * 
     * @param addressIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteLogisticsaddressByAddressIds(Long[] addressIds);
}
